package com.ruoyi.teacher.api.domain;

import com.ruoyi.common.core.annotation.Excel;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

public class TeacherDto {

    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 老师姓名 */
    private String name;

    /** 学科 */
    private String subject;

    /** 校区 */
    private String campus;

    /** 电话 */
    private String phone;

    /** 帮扶优先级 */

    private Integer priority;

    /** 类型 */

    private Integer teacherType;

    /** 性别 */

    private Integer gender;

    /** 关联的用户的id */

    private Long userId;

    private Date createtime;

    /** (0正常，1删除) */
    private Long deleted;


    public Date getCreatetime() {
        return createtime;
    }

    public void setCreatetime(Date createtime) {
        this.createtime = createtime;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }
    public void setName(String name)
    {
        this.name = name;
    }

    public String getName()
    {
        return name;
    }
    public void setSubject(String subject)
    {
        this.subject = subject;
    }

    public String getSubject()
    {
        return subject;
    }
    public void setCampus(String campus)
    {
        this.campus = campus;
    }

    public String getCampus()
    {
        return campus;
    }
    public void setPhone(String phone)
    {
        this.phone = phone;
    }

    public String getPhone()
    {
        return phone;
    }
    public void setPriority(Integer priority)
    {
        this.priority = priority;
    }

    public Integer getPriority()
    {
        return priority;
    }
    public void setTeacherType(Integer teacherType)
    {
        this.teacherType = teacherType;
    }

    public Integer getTeacherType()
    {
        return teacherType;
    }
    public void setGender(Integer gender)
    {
        this.gender = gender;
    }

    public Integer getGender()
    {
        return gender;
    }
    public void setUserId(Long userId)
    {
        this.userId = userId;
    }

    public Long getUserId()
    {
        return userId;
    }
    public void setDeleted(Long deleted)
    {
        this.deleted = deleted;
    }

    public Long getDeleted()
    {
        return deleted;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("id", getId())
                .append("name", getName())
                .append("subject", getSubject())
                .append("campus", getCampus())
                .append("phone", getPhone())
                .append("priority", getPriority())
                .append("teacherType", getTeacherType())
                .append("gender", getGender())
                .append("userId", getUserId())
                .append("deleted", getDeleted())
                .toString();
    }
}
